ARDK for Android/com.nianticlabs.ardk.mesh/MeshingSession
MeshingSession
[androidJvm]
class MeshingSession : SessionBase<MeshingSession>
A session for real-time 3D mesh generation from AR data.
The meshing feature provides capabilities for processing AR session data and generating a triangle mesh representation of the physical environment in real-time. The mesh is divided into chunks that can be individually queried and updated as the environment is scanned.
Functions
| Name | Summary |
|---|---|
| acquire | [androidJvm] @Synchronized fun acquire(): MeshingSession |
| close | [androidJvm] @Synchronized open override fun close() |
| configure | [androidJvm] fun configure(config: MeshingConfig) Configures the meshing feature with the specified settings. |
| featureStatus | [androidJvm] fun featureStatus(): FeatureStatus Reports errors that have occurred with processes running inside this feature. |
| getData | [androidJvm] fun getData(id: Long): MeshData? Gets the data for a single mesh chunk. |
| getLastUpdateTime | [androidJvm] fun getLastUpdateTime(): Long? Gets the timestamp of the latest mesh update. |
| getUpdatedInfos | [androidJvm] fun getUpdatedInfos(): MeshingUpdateInfo? Gets the ids of all chunks in the current mesh and their update status. |
| start | [androidJvm] fun start() Starts the meshing feature. |
| stop | [androidJvm] fun stop() Stops the meshing feature. |